package org.example.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.infrastructure.persistent.po.StrategyAward;
import org.example.infrastructure.persistent.po.StrategyRule;

import java.util.List;

/**
 * 抽奖策略奖品 DAO
 */
@Mapper
public interface IStrategyAwardDao {
    List<StrategyAward> queryStratrgyAwardList();

    List<StrategyAward> queryStratrgyAwardListBystrategyId(Long strategyId);

    StrategyAward queryStrategyAwardByAwardId(Long awardId);

    String queryStrategyAwardRuleModel(StrategyRule strategyRule);

    void updateStrategyAwardStock(StrategyAward strategyAward);

    StrategyAward queryStrategyAward(StrategyAward strategyAward);
}
